package me.zingon.self.bigdispatcher.service.impl;

import io.swagger.models.auth.In;
import me.zingon.self.bigdispatcher.entity.NacosJobLog;
import me.zingon.self.bigdispatcher.dao.NacosJobLogDao;
import me.zingon.self.bigdispatcher.service.NacosJobLogService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * (NacosJobLog)表服务实现类
 *
 * @author zingon
 * @since 2021-01-07 16:21:14
 */
@Service("nacosJobLogService")
public class NacosJobLogServiceImpl implements NacosJobLogService {
    @Autowired
    private NacosJobLogDao nacosJobLogDao;


    @Override
    public Integer add(NacosJobLog nacosJobLog){
        return nacosJobLogDao.insert(nacosJobLog);
    }

    @Override
    public Integer updateById(NacosJobLog jobLog) {
        return nacosJobLogDao.updateById(jobLog);
    }

}